import request from '@/plugin/axios'
export function GetList (page, name, status, state) {
  const url = '/AdminActivity/Lists'
  return request.post(url, { page, name, status, state })
}
export function infor (id) {
  const url = '/AdminActivity/infor'
  return request.post(url, { id })
}
export function edit (data = {}) {
  const url = '/AdminActivity/edit'
  return request.post(url, data)
}
export function goodsData (id) {
  const url = '/AdminActivity/goodsData'
  return request.post(url, { id })
}
export function goodsEdit (data = {}) {
  const url = '/AdminActivity/goodsEdit'
  return request.post(url, data)
}
export function goodsAdd (data = {}) {
  const url = '/AdminActivity/goodsAdd'
  return request.post(url, data)
}
export function goodsUpdate (aid, id) {
  const url = '/AdminActivity/goodsUpdate'
  return request.post(url, { aid, id})
}
export function getUv (id) {
  const url = '/AdminActivity/getUv'
  return request.post(url, { id})
}

